﻿using SqlSuarEntity;
using System.Collections.Generic;
using XXX.Models;

namespace LH.Model.ST
{
    public class ST_Rdrecord11
    {
        public ST_Rdrecord11(Rd11Head head, List<Rd11Body> bodies)
        {
            this.head = head;
            this.bodies = bodies;
        }

        public ST_Rdrecord11(Rd11Head head, Rd11Body body)
        {
            this.head = head;
            this.bodies = new List<Rd11Body> { body };
        }

        //实体
        public Rd11Head head;
        public List<Rd11Body> bodies;

        public WMS_BARCODE wms_barcode = null;

        public class Rd11Head
        {
            public string bWireless { get; set; }
            public string id { get; set; }
            public string brdflag { get; set; }
            public string cvouchtype { get; set; }
            public string csysbarcode { get; set; }
            /// <summary>
            /// 仓库编码
            /// </summary>
            public string cwhcode { get; set; }
            /// <summary>
            /// 单据日期
            /// </summary>
            public string ddate { get; set; }
            /// <summary>
            /// 出库单号 收发单据号
            /// </summary>
            public string ccode { get; set; }
            /// <summary>
            /// 收发类别编码
            /// </summary>
            public string crdcode { get; set; }
            public string cdepcode { get; set; }
            public string cpersoncode { get; set; }
            public string cprobatch { get; set; }
            /// <summary>
            /// 审核人
            /// </summary>
            public string chandler { get; set; }
            public string cmemo { get; set; }
            public string caccounter { get; set; }
            /// <summary>
            /// 制单人
            /// </summary>
            public string cmaker { get; set; }
            public string cdefine1 { get; set; }
            public string cdefine2 { get; set; }
            public string cdefine3 { get; set; }
            public string cdefine4 { get; set; }
            public string cdefine5 { get; set; }
            public string cdefine6 { get; set; }
            public string cdefine7 { get; set; }
            public string cdefine8 { get; set; }
            public string cdefine9 { get; set; }
            public string cdefine10 { get; set; }
            public string cwhname { get; set; }
            public string cdepname { get; set; }
            public string cpersonname { get; set; }
            public string crdname { get; set; }
            public string csource { get; set; }
            public string cbustype { get; set; }
            public string cbuscode { get; set; }
            public string dveridate { get; set; }
            public string darvdate { get; set; }
            public string cchkcode { get; set; }
            public string dchkdate { get; set; }
            public string cchkperson { get; set; }
            public string bisstqc { get; set; }
            public string vt_id { get; set; }
            public string cdefine11 { get; set; }
            public string cdefine12 { get; set; }
            public string cdefine13 { get; set; }
            public string cdefine14 { get; set; }
            public string cdefine15 { get; set; }
            public string cdefine16 { get; set; }
            public string imquantity { get; set; }
            public string cpspcode { get; set; }
            public string cinvname { get; set; }
            public string cinvstd { get; set; }
            public string cinvaddcode { get; set; }
            public string hcinvdefine1 { get; set; }
            public string hcinvdefine2 { get; set; }
            public string hcinvdefine3 { get; set; }
            public string hcinvdefine4 { get; set; }
            public string hcinvdefine5 { get; set; }
            public string hcinvdefine6 { get; set; }
            public string hcinvdefine7 { get; set; }
            public string hcinvdefine8 { get; set; }
            public string hcinvdefine9 { get; set; }
            public string hcinvdefine10 { get; set; }
            public string hcinvdefine11 { get; set; }
            public string hcinvdefine12 { get; set; }
            public string hcinvdefine13 { get; set; }
            public string hcinvdefine14 { get; set; }
            public string hcinvdefine15 { get; set; }
            public string hcinvdefine16 { get; set; }
            public string cmpocode { get; set; }
            public string bpufirst { get; set; }
            public string biafirst { get; set; }
            public string cvencode { get; set; }
            public string cvenabbname { get; set; }
            public string ivenauthid { get; set; }
            public string ipurorderid { get; set; }
            public string iproorderid { get; set; }
            public string biscomplement { get; set; }
            public string ipspauthid { get; set; }
            public string cproinvaddcode { get; set; }
            public string ireturncount { get; set; }
            public string iverifystate { get; set; }
            public string iswfcontrolled { get; set; }
            public string ufts { get; set; }
            public string cmodifyperson { get; set; }
            public string dmodifydate { get; set; }
            public string dnmaketime { get; set; }
            public string dnmodifytime { get; set; }
            public string dnverifytime { get; set; }
            public string bomfirst { get; set; }
            public string bmotran { get; set; }
            public string chinvsn { get; set; }
            public string isourcerowno { get; set; }
            public string iflowid { get; set; }
            public string cflowname { get; set; }
            public string bhyvouch { get; set; }
            public string iPrintCount { get; set; }
            public string ccurrentauditor { get; set; }
            public string cfactorycode { get; set; }
            public string cfactoryname { get; set; }
            public string cchecksignflag { get; set; }
        }

        public class Rd11Body
        {
            public string editprop { get; set; }
            public string autoid { get; set; }
            public string id { get; set; }
            /// <summary>
            /// 存货编码
            /// </summary>
            public string cinvcode { get; set; }
            public string cinvaddcode { get; set; }
            public string cinvname { get; set; }
            public string cinvstd { get; set; }
            public string cinvccode { get; set; }
            public string cinvm_unit { get; set; }
            public string cinva_unit { get; set; }
            public string creplaceitem { get; set; }
            public string cposition { get; set; }
            public string cinvdefine1 { get; set; }
            public string cinvdefine2 { get; set; }
            public string cinvdefine3 { get; set; }
            public string cinvdefine4 { get; set; }
            public string cinvdefine5 { get; set; }
            public string cinvdefine6 { get; set; }
            public string cinvdefine7 { get; set; }
            public string cinvdefine8 { get; set; }
            public string cinvdefine9 { get; set; }
            public string cinvdefine10 { get; set; }
            public string cinvdefine11 { get; set; }
            public string cinvdefine12 { get; set; }
            public string cinvdefine13 { get; set; }
            public string cinvdefine14 { get; set; }
            public string cinvdefine15 { get; set; }
            public string cinvdefine16 { get; set; }
            public string iid { get; set; }
            public string cfree1 { get; set; }
            public string cfree2 { get; set; }
            public string cfree3 { get; set; }
            public string cfree4 { get; set; }
            public string cfree5 { get; set; }
            public string cfree6 { get; set; }
            public string cfree7 { get; set; }
            public string cfree8 { get; set; }
            public string cfree9 { get; set; }
            public string cfree10 { get; set; }
            public string cbatch { get; set; }
            public string iinvexchrate { get; set; }
            public string inum { get; set; }
            /// <summary>
            /// 数量
            /// </summary>
            public string iquantity { get; set; }
            public string iunitcost { get; set; }
            public string iprice { get; set; }
            public string cbarcode { get; set; }
            public string ipunitcost { get; set; }
            public string ipprice { get; set; }
            public string dvdate { get; set; }
            public string cobjcode { get; set; }
            public string isoutquantity { get; set; }
            public string isoutnum { get; set; }
            public string inquantity { get; set; }
            public string innum { get; set; }
            public string cassunit { get; set; }
            public string dmadedate { get; set; }
            public string ifquantity { get; set; }
            public string ifnum { get; set; }
            public string cvouchcode { get; set; }
            public string cdefine22 { get; set; }
            public string cdefine23 { get; set; }
            public string cdefine24 { get; set; }
            public string cdefine25 { get; set; }
            public string cdefine26 { get; set; }
            public string cdefine27 { get; set; }
            public string cdefine28 { get; set; }
            public string cdefine29 { get; set; }
            public string cdefine30 { get; set; }
            public string cdefine31 { get; set; }
            public string cdefine32 { get; set; }
            public string cdefine33 { get; set; }
            public string cdefine34 { get; set; }
            public string cdefine35 { get; set; }
            public string cdefine36 { get; set; }
            public string cdefine37 { get; set; }
            public string impoids { get; set; }
            public string icheckids { get; set; }
            public string citemcode { get; set; }
            public string citem_class { get; set; }
            public string cname { get; set; }
            public string citemcname { get; set; }
            public string cbvencode { get; set; }
            public string cvenname { get; set; }
            public string imassdate { get; set; }
            public string cinvouchcode { get; set; }
            public string imaterialfee { get; set; }
            public string iomomid { get; set; }
            public string iomodid { get; set; }
            public string comcode { get; set; }
            public string cmassunit { get; set; }
            public string cposname { get; set; }
            public string isquantity { get; set; }
            public string ismaterialfee { get; set; }
            public string dmsdate { get; set; }
            public string cmocode { get; set; }
            public string imoseq { get; set; }
            public string cmolotcode { get; set; }
            public string iopseq { get; set; }
            public string copdesc { get; set; }
            public string cmworkcentercode { get; set; }
            public string cmworkcenter { get; set; }
            /// <summary>
            /// 产品编码
            /// </summary>
            public string invcode { get; set; }
            public string invname { get; set; }
            public string invstd { get; set; }
            public string corufts { get; set; }
            public string isodid { get; set; }
            public string isotype { get; set; }
            public string csocode { get; set; }
            public string isoseq { get; set; }
            public string cdemandmemo { get; set; }
            public string iordertype { get; set; }
            public string iorderdid { get; set; }
            public string iordercode { get; set; }
            public string iorderseq { get; set; }
            public string cbaccounter { get; set; }
            public string bcosting { get; set; }
            public string dbkeepdate { get; set; }
            public string cvmivencode { get; set; }
            public string cvmivenname { get; set; }
            public string bvmiused { get; set; }
            public string ivmisettlequantity { get; set; }
            public string ivmisettlenum { get; set; }
            public string imaids { get; set; }
            public string iinvsncount { get; set; }
            public string iuninvsncount { get; set; }
            public string cwhpersoncode { get; set; }
            public string cwhpersonname { get; set; }
            public string crejectcode { get; set; }
            public string iexpiratdatecalcu { get; set; }
            public string cexpirationdate { get; set; }
            public string dexpirationdate { get; set; }
            public string cciqbookcode { get; set; }
            public string ibondedsumqty { get; set; }
            public string productinids { get; set; }
            public string cbatchproperty1 { get; set; }
            public string cbatchproperty2 { get; set; }
            public string cbatchproperty3 { get; set; }
            public string cbatchproperty4 { get; set; }
            public string cbatchproperty5 { get; set; }
            public string cbatchproperty6 { get; set; }
            public string cbatchproperty7 { get; set; }
            public string cbatchproperty8 { get; set; }
            public string cbatchproperty9 { get; set; }
            public string cbatchproperty10 { get; set; }
            public string irsrowno { get; set; }
            public string cbmemo { get; set; }
            public string cbinvsn { get; set; }
            public string applydid { get; set; }
            public string applycode { get; set; }
            public string irowno { get; set; }
            public string strowguid { get; set; }
            public string vmiveniid { get; set; }
            public string cservicecode { get; set; }
            public string bveniid { get; set; }
            public string cinvouchtype { get; set; }
            public string coutvouchid { get; set; }
            public string coutvouchtype { get; set; }
            public string isredoutquantity { get; set; }
            public string isredoutnum { get; set; }
            public string itrids { get; set; }
            public string ipesodid { get; set; }
            public string ipesotype { get; set; }
            public string cpesocode { get; set; }
            public string ipesoseq { get; set; }
            public string bsupersede { get; set; }
            public string isupersedeqty { get; set; }
            public string isupersedempoids { get; set; }
            public string imoallocatesubid { get; set; }
            public string cinvouchercode { get; set; }
            public string cinvoucherlineid { get; set; }
            public string cinvouchertype { get; set; }
            public string cbsysbarcode { get; set; }
            public string csourcemocode { get; set; }
            public string isourcemodetailsid { get; set; }
            public string cplanlotcode { get; set; }
            public string bcanreplace { get; set; }
            public string iposflag { get; set; }
            public string boutmaterials { get; set; }
            public string iavaquantity { get; set; }
            public string iavanum { get; set; }
            public string ipresent { get; set; }
            public string ipresentnum { get; set; }

        }
    }
}
